<h1>Listing sectors</h1>

<table>
  <tr>
    <th>Title</th>
    <th>Description</th>
  </tr>

<% @sectors.each do |sector| %>
  <tr>
    <td><%=h sector.title %></td>
    <td><%=h sector.description %></td>
    <td><%= link_to 'Show', sector %></td>
    <td><%= link_to 'Edit', edit_sector_path(sector) %></td>
    <td><%= link_to 'Destroy', sector, :confirm => 'Are you sure?', :method => :delete %></td>
  </tr>
<% end %>
</table>

<br />

<%= link_to 'New sector', new_sector_path %>